﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class mesas_crearMesa : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        Administrador user = (Administrador)this.Session["Administrador"];
        if (user == null)
        {
            Response.Redirect("../noEstaLogeado.aspx", true);
        }
    }
    protected void Crear_Click(object sender, EventArgs e)
    {
        GestionMesas.getInstance().crearMesa(ListBox1.SelectedValue);
    }
}
